package com.ajview.common.core.domain.dto;

import javax.validation.constraints.NotBlank;

/**
 * @author ZhangJunJie
 * @Date 2022-09-29
 * <p>
 * 概要：数据传输对象，用户登录传输模型
 */
public class LoginDto {
    /**
     * 用户名
     */
    @NotBlank(message = "参数为必填")
    private String username;
    /**
     * 密码
     */
    @NotBlank(message = "参数为必填")
    private String password;
    /**
     * 验证码
     */
    private String code;
    /**
     * 本次认证的唯一标识
     */
    private String uuid;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
